//导入request.js请求工具
import request from '@/utils/request.js'

//获得机甲分类
export const mechaSortService = () => {
    return request.get('/sort')
}

//机甲分页显示
export const mechaListService = (params) => {
    return request.get('/mecha', { params: params })
}

//机甲详情数据
export const mechaDetailListService = (params) => {
    return request.get('/mecha/detail', { params: params })
}

//机甲技能
export const mechaSkillListService = (params) => {
    return request.get('/skill', { params: params })
}